package com.yukino.service;

import com.yukino.pojo.Project;
import com.yukino.pojo.User;
import com.yukino.pojo.requestBody.UserProfile;
import com.yukino.pojo.serviceResult.LoginUser;
import com.yukino.pojo.requestBody.RegisterBody;

import java.util.List;

public interface UserService {
    LoginUser login(String username, String password);

    boolean queryUsernameExit(String username);

    User createUser(RegisterBody register);

    Long queryUserId(String username);

    List<Project> querySpecificProject(String username);

    User queryInfo(String username);

    int updatePwd(String username,String password);

    int updateProfile(String username, UserProfile userProfile);
}
